
  <div class="x_panel">
    <div class="x_content" style="display: block;">
      <!--表格主体内容-->
      <div class="nav navbar-right panel_toolbox">
        <a class="fa" href="/order/cancel.html"> 核销订单管理</a>
      </div>
      <br><br>
      <div class="cont">
        <table class="table table-bordered table-striped">
          <thead>
          <tr>
            <th width="100px">序号</th>
            <th>订单编号</th>
            <th>核销码</th>
            <th>类型</th>
            <th>状态</th>
            <th>购买时间</th>
            <th>失效时间</th>
            <th>购买用户</th>
            <th>价格</th>
          </tr>
          </thead>
          <tbody>
          {foreach $order.lists as $orderitem}
          <tr>
            <td>{$orderitem.order_id}</td>
            <td>{$orderitem.order_no}</td>
            <td>{$orderitem.cancel_no}</td>
            <td>{if $orderitem.type==0 && $orderitem.play_type==0}入场券{elseif $orderitem.type==0 && $orderitem.play_type==1}会员卡{elseif $orderitem.type==1}商品{elseif $orderitem.type==2}摇摇车{/if}</td>
            <td>{if $orderitem.status==1}已付款{elseif $orderitem.status==2}已提货{elseif $orderitem.status==3}使用中{elseif $orderitem.status==4 && $orderitem.type==0}已使用{else}已回收{/if}</td>
            <td>{$orderitem.pay_time}</td>
            <td>{$orderitem.expire_time}</td>
            <td>{$orderitem.phone}</td>
            <td>{$orderitem.price}</td>
          </tr>
          {/foreach}
          </tbody>
        </table>
        <!--分页-->

        {Yii::$app->view->render('/com/pager.php',['pager'=>$order['pager']])}
      </div>
    </div>
  </div>

